<?php

$key = $_GET['key'];

$oldData = file_get_contents("./db/msg.txt");

$oldData = json_decode($oldData,true);

$data = $oldData[$key];

// var_dump($data);

include './temp/edit.html';